package com.sc.design.PK.create.fac_builder.builder;

import javax.security.auth.Subject;

/**
 * @author sc
 * Created on  2017/12/7
 */
public abstract class Builder {
    protected final SuperMan superMan = new SuperMan();
    public abstract SuperMan create();

    public void setBody(String body){
        this.superMan.setBody(body);
    }

    public void setTalant(String talant){
        this.superMan.setTalant(talant);
    }

    public void setName(String name){
        this.superMan.setName(name);
    }
}
